home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / aminet / biz / misc / imagefxdevkit.lha / fd / scan.fd < prev    next >
Text File  |  1992-12-12  |  7KB  |  326 lines

  1. ##base _ScanBase
  2. ##bias 30
  3. ##private
  4. *
  5. obsolete()()
  6. *
  7. ##public
  8. HidePanel()()
  9. ShowPanel()()
  10. ArrangePanel()()
  11. ShowStatus(buffer)(a0)
  12. *
  13. * These 3 bar functions are registerized!!
  14. BeginBar(title,count,cancel)(a0/d0/d1)
  15. Bar(iteration)(d0)
  16. EndBar(junk)(a0)
  17. *
  18. Error()()
  19. VErrorf(text,vargs)(a0/a1)
  20. TogglePanel()()
  21. *
  22. SerOpen(device,unit,baud,z)(a0/d0/d1/d2)
  23. SerClose()()
  24. SerBaud(baud)(d0)
  25. SerRead(buf,len)(a0/d0)
  26. TimedSerRead(buf,len,timeout)(a0/d0/d1)
  27. ##private
  28. obsolete1()()
  29. ##public
  30. SerPutc(byte)(d0)
  31. SerWrite(string,len)(a0/d0)
  32. SerFlush()()
  33. SerDisable()()
  34. SerEnable()()
  35. *
  36. Ged_Set(window,gadgetid,value)(a0/d0/d1)
  37. Ged_Get(window,gadgetid)(a0/d0)
  38. Ged_Activate(window,gadgetid)(a0/d0)
  39. Ged_Enable(window,gadgetid,enable)(a0/d0/d1)
  40. *
  41. AllocChipBitMap(w,h,d)(d0/d1/d2)
  42. AllocFastBitMap(w,h,d)(d0/d1/d2)
  43. DeleteBitMap(bitmap)(a0)
  44. ClearBitMap(bitmap)(a0)
  45. CopyBitMap(source,dest)(a0/a1)
  46. SetError(errorcode)(d0)
  47. GetError()()
  48. ##private
  49. obsolete2()()
  50. ##public
  51. DAlloc(size,flags,file,func,line)(d0/d1/a0/a1/d2)
  52. DFree(mem,size,file,func,line)(a1/d0/a0/a2/d2)
  53. *
  54. IsBuffer()()
  55. FreeBuffer()()
  56. InitBuffer(name,width,height,depth,bits,flags)(a0/d0/d1/d2/d3/d4)
  57. ObtainBuffer(which)(d0)
  58. ReleaseBuffer(buffer)(a0)
  59. GetBufLine(buffer,redp,grnp,blup,scanline)(a0/a1/a2/a3/d0)
  60. PutBufLine(buffer)(a0)
  61. PutNewBufLine(buffer,red,grn,blu,scanline)(a0/a2/a2/a3/d0)
  62. PutNewBufLine1(a,b,c,d)(a0/a1/d0/d1)
  63. GetBufVLine(a,b,c,d,e)(a0/a1/a2/a3/d0)
  64. PutBufVLine(a)(a0)
  65. PutNewBufVLine(a,b,c,d,e)(a0/a1/a2/a3/d0)
  66. PutNewBufVLine1(a,b,c,d)(a0/a1/d0/d1)
  67. ##private
  68. obsolete111()()
  69. ##public
  70. *
  71. ##private
  72. obsolete3()()
  73. obsolete4()()
  74. ##public
  75. RenderVirtual()()
  76. RenderPartVirtual(x1,y1,x2,y2)(d0/d1/d2/d3)
  77. VirtualTranslate(xptr,yptr)(a0/a1)
  78. GetVCoords(intuimsg,xptr,yptr)(a0/a1/a2)
  79. VirtRow24(a,b,c,d,e)(a0/a1/a2/d0/d1)
  80. ColorVirtual(a)(d0)
  81. ClearVirtual()()
  82. ##private
  83. obsolete7()()
  84. obsolete8()()
  85. obsolete9()()
  86. ##public
  87. VirtRow8(a,b,c,d)(a0/d0/d1/d2)
  88. VirtCol8(a,b,c,d)(a0/d0/d1/d2)
  89. ##private
  90. obsolete112()()
  91. obsolete10()()
  92. ##public
  93. VirtualTempClose()()
  94. VirtualTempOpen()()
  95. *
  96. RequestNewRender()()
  97. *
  98. ##private
  99. obsolete11()()
  100. obsolete12()()
  101. obsolete13()()
  102. obsolete14()()
  103. obsolete15()()
  104. obsolete16()()
  105. obsolete17()()
  106. obsolete18()()
  107. *
  108. DM_Inquire()()
  109. DM_Dither()()
  110. *
  111. Quantize_Inquire()()
  112. ##public
  113. DoQuantize(a,b,d,e,f,g)(d0/d1/a0/a1/a2/d2)
  114. *
  115. AllocBuffer(name,width,height,depth,bits,flags)(a0/d0/d1/d2/d3/d4)
  116. ReplaceBuffer(oldbuf,newbuf)(a0/a1)
  117. KillBuffer(buffer)(a0)
  118. *
  119. ProcessRegion(a,b,d,e,f)(a0/a1/a2/a3/a4)
  120. ProcessPlane(a,b,c,d,e)(a0/a1/a2/d0/a3)
  121. SaveUndo(buffer,leftedge,topedge,width,height)(a0/d0/d1/d2/d3)
  122. RestoreUndo(redraw)(d0)
  123. *
  124. InitHook()()
  125. CleanupHook()()
  126. EasyProcess(a,b,c)(a0/a1/a2)
  127. *
  128. PreOverscan(a)(a0)
  129. PostOverscan(a)(a0)
  130. *
  131. VBoolRequest(title,vargs)(a0/a1)
  132. StringRequest(title,default)(a0/a1)
  133. IntegerRequest(title,low,high,default)(a0/d0/d1/d2)
  134. *
  135. SetCurrentPalette(a,b)(a0/d0)
  136. GetPaletteStruct(a)(a0)
  137. IsRangeLocked(a)(d0)
  138. IsRegisterLocked(a)(d0)
  139. ModifyPalette(a,b,c,d)(d0/d1/d2/d3)
  140. UnlockedColors(a)(d0)
  141. RefreshPalette()()
  142. *
  143. OpenRenderScreen(a,b,c)(a0/d0/d1)
  144. CloseRenderScreen(a)(a0)
  145. DrawRenderArea()()
  146. *
  147. SetModGad(base,id,val)(a0/d0/d1)
  148. Ged_Create(context,newgad,text)(a0/a1/a2)
  149. Ged_Delete(context)(a0)
  150. Ged_Add(context,window)(a0/a1)
  151. Ged_Remove(context,window)(a0/a1)
  152. GedWindow(newwindow,newgad,id,init,free,text)(a0/a1/d0/a2/a3/a4)
  153. Ged_GetIMsg(window,rcptr)(a0/a1)
  154. *
  155. VInfoRequest(title,vargs)(a0/a1)
  156. *
  157. CheckMask(mask,x,y)(a0/d0/d1)
  158. *
  159. RollScreenUp(height)(d0)
  160. RollScreenDown()()
  161. *
  162. InstallCustomMask(a)(a0)
  163. FreeMask(mask)(a0)
  164. BuildRectMask(a,b,c,d)(d0/d1/d2/d3)
  165. BuildOvalMask(a,b,c,d,e)(d0/d1/d2/d3/d4)
  166. BuildPolyMask(a)(a0)
  167. BuildFloodMask(a,b,c,d)(a0/d0/d1/d2)
  168. SetRegionTool(a)(d0)
  169. *
  170. ##private
  171. msprintf()()
  172. ##public
  173. *
  174. SaveBuffer(a,b,c)(a0/a1/a2)
  175. LoadBuffer(a,b,c)(a0/a1/d0)
  176. *
  177. *------------------------------ 0.49 ---------------------------
  178. *
  179. ParseCommand(a,b)(a0/a1)
  180. RenderPalette(a,b,c,d,e)(a0/a1/d0/a2/d1)
  181. ##private
  182. DoRexx()()
  183. DoGadget()()
  184. ##public
  185. *
  186. *------------------------------ 0.51 ---------------------------
  187. *
  188. RedrawFull()()
  189. RedrawArea(a,b,c,d)(d0/d1/d2/d3)
  190. *
  191. *------------------------------ 0.52 ---------------------------
  192. *
  193. ListRequester(a,b,c)(a0/a1/d0)
  194. *
  195. *------------------------------ 0.54 ---------------------------
  196. *
  197. VThreeRequest(a,b,c,d,e)(a0/a1/a2/a3/a4)
  198. *
  199. *------------------------------ 0.55 ---------------------------
  200. *
  201. UnlockResource(a)(d0)
  202. RelockResource(a)(d0)
  203. NewGetFile(a,b,c)(a0/a1/d0)
  204. TakeOver(a)(d0)
  205. ReadBuffer(a,b)(a0/a1)
  206. * Misleading name at best:
  207. SaveBrush(a,b,c,d)(a0/a1/a2/a3)
  208. *
  209. *------------------------------ 0.57 ---------------------------
  210. *
  211. SaveMapped(a,b,c,d)(a0/a1/a2/a3)
  212. *
  213. *------------------------------ 0.58 ---------------------------
  214. *
  215. BOpen(file,mode,bufsize)(a0/d0/d1)
  216. BClose(handle)(a0)
  217. BPutc(handle,c)(a0,d0)
  218. BPuts(handle,string)(a0,a1)
  219. BGetc(handle)(a0)
  220. BGets(handle,buf,len)(a0/a1/d0)
  221. BWrite(handle,buffer,length)(a0/a1/d0)
  222. BRead(handle,buffer,length)(a0/a1/d0)
  223. *
  224. *------------------------------ 0.61 ---------------------------
  225. *
  226. CloseWindowSafely(window)(a0)
  227. *
  228. *------------------------------ 0.62 ---------------------------
  229. *
  230. RequestNewScanner()()
  231. RequestNewPrinter()()
  232. *
  233. *------------------------------ 0.63 ---------------------------
  234. *
  235. VSetResult(msg,fmt,vargs)(a0/a1/a2)
  236. ##private
  237. MatchArg(arg,...)()
  238. ChangeScanner()()
  239. ChangeRender()()
  240. ChangePrinter()()
  241. ##public
  242. *
  243. *------------------------------ 0.64 ---------------------------
  244. *
  245. PrepareNW(nw,width,height,scale)(a0/d0/d1/d2)
  246. *
  247. *------------------------------ 0.65 ---------------------------
  248. *
  249. GetPalette(reg,r,g,b)(d0/a0/a1/a2)
  250. *
  251. *------------------------------ 0.91 ---------------------------
  252. *
  253. ReadText(tag,count)(a0/d0)
  254. FreeText(textarray,count)(a0/d0)
  255. *
  256. *------------------------------ 0.92 ---------------------------
  257. *
  258. InitDither(ng1,ng2,ng3)(a0/a1/a2)
  259. FreeDither(dargs)(a0)
  260. DoDither(buf,dargs)(a0/a1)
  261. Help(file,node)(a0/a1)
  262. *
  263. *------------------------------ 0.93 ---------------------------
  264. *
  265. ##private
  266. AddWedge(wedgename,portname)()
  267. ##public
  268. AddRawWedge(wedgename,function,userdata)(a0/a1/a2)
  269. RemoveWedge(wedgename,portname)(a0/a1)
  270. RemoveAllWedges()()
  271. ##private
  272. DoWedge(wedgename,fmt,...)()
  273. ##public
  274. VDoRawWedge(wedgename,resultptr,vargs)(a0/a1/a2)
  275. QuickPix(planes,byteptr,bitptr,color,depth)(a0/a1/a2/d0/d1)
  276. QuickLine(planes,byteptr,bitptr,array,width,depth)(a0/a1/a2/a3/d0/d1)
  277. ##private
  278. HandleArexx()()
  279. ##public
  280. *
  281. *------------------------------ 0.94 ---------------------------
  282. *
  283. ##private
  284. OldReadArgsClone(argc,argv,template,array)()
  285. ReadArgsClone(stringptr,template,array)()
  286. FreeArgsClone(argstruct)()
  287. ##public
  288. GedWin(newwindow,newgad,id,init,free,text)(a0/a1/d0/a2/a3/a4)
  289. VMWriteAll(a)(a0)
  290. VMPageChanged(a,b)(a0/d0)
  291. VMGetPage(a,b)(a0/d0)
  292. ##private
  293. VMOpen()()
  294. VMClose()()
  295. ##public
  296. *
  297. *------------------------------ 0.95 ---------------------------
  298. *
  299. NumberRequest(title,low,high,default)(a0/d0/d1/d2)
  300. *
  301. *------------------------------ 0.98 ---------------------------
  302. *
  303. BFlush(bio)(a0)
  304. BSeek(bio,offset,mode)(a0/d0/d1)
  305. *
  306. *------------------------------ 0.99 ---------------------------
  307. *
  308. VPickFromList(a,b,c,d)(a0/d0/d1/a1)
  309. LangListRequest(a,b,c,d,e,f,g)(a0/a1/d0/d1/d2/d3/a2)
  310. TextListRequest(a,b,c,d,e)(a0/a1/d0/d1/d2)
  311. PickFromListA(a)(a0)
  312. CreateBlend(a)(a0)
  313. DeleteBlend(a)(a0)
  314. mixer(new,old,mix)(d0/d1/d2)
  315. *
  316. *------------------------------ 0.100 ---------------------------
  317. *
  318. GetBufLines(a,b,c,d,e,f)(a0/a1/a2/a3/d0/d1)
  319. PutBufLines(a,b,c)(a0/d0/d1)
  320. *
  321. *------------------------------ 0.104 ---------------------------
  322. *
  323. NewPreOverscan(ns,modeid)(a0/d0)
  324. *
  325. ##end
  326.